package com.ez.supervise.service;

import java.util.List;

import com.ez.supervise.core.Page;
import com.ez.supervise.model.biz.DemocracyGoal;
import com.ez.supervise.service.base.BaseService;

/**
 * @author searph.wang
 * @email searph.wang@gmail.com
 * @Created at 2009-7-22
 * 
 */
public interface DemocracyGoalService extends BaseService {
    /**
     * @return
     */
    List findAll();

    /**
     * @param page
     * @return
     */
    void findDemocracyGoalByPage(Page page);

    /**
     * @param page
     */
    void findSettingByPage(Page page);

    /**
     * @param orgType
     * @param goalIds
     */
    void save(String orgType, String goalIds);

    /**
     * @param id
     */
    void deleteSetting(Long id);

    /**
     * @param year
     * @param orgType
     * @return
     */
    List<DemocracyGoal> findDemocracyGoal(Integer year, String orgType);
}
